package com.ty.paypal.core;

import java.util.List;

import com.paypal.http.annotations.Model;
import com.paypal.http.annotations.SerializedName;
import com.paypal.payments.LinkDescription;
import com.ty.paypal.core.d.BillingCycles;
import com.ty.paypal.core.d.PaymentPreferences;
import com.ty.paypal.core.d.Taxes;

import lombok.Data;

/**
* @author ty
* @createDate 创建时间：2020年2月22日 下午3:06:11
**/
@Model
@Data
public class Plan {
	@SerializedName("id")
	private String id;
	
	@SerializedName("product_id")
	private String productId;
	
	@SerializedName("name")
	private String name;
	
	@SerializedName("status")
	private String status;
	
	@SerializedName("description")
	private String description;
	
	@SerializedName(value = "billing_cycles", listClass = BillingCycles.class) 
	private List<BillingCycles> billingCycles;
	
	@SerializedName("payment_preferences")
	private PaymentPreferences paymentPreferences;
	
	@SerializedName("taxes")
	private Taxes taxes;
	
	@SerializedName("quantity_supported")
	private Boolean quantitySupported;
	
	@SerializedName("create_time")
	private String createTime;
	
	@SerializedName("update_time")
	private String updateTime;
	
	@SerializedName(value = "links", listClass = LinkDescription.class)
	private List<LinkDescription> links;
	
	
}
